/**
 * @author:albert
 * @date:2016年7月11日
 */
package com.bkbw.live.testclient;

import org.apache.mina.core.session.IoSession;

/**
 * @author albert
 *
 */
public interface IMessageHandler {
	public void sessionOpened(IoSession session) throws Exception;
	
	public void sessionClosed(IoSession session) throws Exception;
	
	public void exceptionCaught(IoSession session, Throwable cause) throws Exception;
	
	public void messageReceived(IoSession session, Object message) throws Exception;
}
